<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>index.html</title>

		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="this is my page">
		<meta http-equiv="content-type" content="text/html; charset=UTF-8">
		
		<script type="text/javascript" src="../all_scripts.js"></script>

        <style>body{margin:0;padding:0;background:#f1f1f1;font:70% Arial, Helvetica, sans-serif; color:#555;line-height:150%;text-align:left;}a{text-decoration:none;color:#057fac;}a:hover{text-decoration:none;color:#999;}h1{font-size:140%;margin:0 20px;line-height:80px;}h2{font-size:120%;}#container{margin:0 auto;width:680px;background:#fff;padding-bottom:20px;}#content{margin:0 20px;}p.sig{margin:0 auto;width:680px;padding:1em 0;}form{margin:1em 0;padding:.2em 20px;background:#eee;}</style>
	</head>

	<body>
<div id="container">
<div id="content">
<div id="outputDiv" name="outputDiv"></div>
</div>
</div>
<textarea name="table_jst" id="table_jst" cols="70" rows="22" style="display: none">
    <table  cellspacing="0" cellpadding="0">
		<tr>
			<th>Sname</th>
			<th>Id</th>
		</tr>
     {for p in recodes}
	 <tr>
			<td>${p.sname|default:""|capitalize}</td>
			<td>${p.id|default:""|capitalize}</td>
		 </tr>
     {/for}
    </table>
</textarea>
<script type="text/javascript">
$.post("server/student/studentSelect.do", {
}, function cb(o) {
	var result = TrimPath.processDOMTemplate("table_jst", eval("({\"recodes\":"+o.toString()+"})"));
	TrimPath.reInnerHTML("outputDiv", result);
});
</script>
	</body>
</html>
